package io.github.wanggit.antrpc.console.zookeeper;

import io.github.wanggit.antrpc.commons.bean.InterfaceNodeDataBean;

import java.util.List;

public interface IInterfaceContainer {

    void addInterface(InterfaceNodeDataBean interfaceNodeDataBean);

    void updateInterface(InterfaceNodeDataBean interfaceNodeDataBean);

    void deleteInterface(InterfaceNodeDataBean interfaceNodeDataBean);

    List<InterfaceDTO> findContainsByInterfaceName(String interfaceName);

    List<InterfaceDTO> findByInterfaceName(String className);

    InterfaceDTO findByInterfaceNameAndHostInfo(String className, String hostInfo);
}
